<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@taglib prefix="kendo" uri="http://www.kendoui.com/jsp/tags"%>
<%@taglib prefix="tags" tagdir="/WEB-INF/tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<tags:header></tags:header>


<div id="example">
    <div class="demo-section k-content">
    	
    	<form method="post" action="<c:url value='/upload/' />">    
    	
    	<ul class="fieldlist">
    		<li style="color: #FF6060"><span><h3>Đăng kí công chứng </h3></span></li>
            <li>
                <label for="simple-input">Họ và tên: 
                <input id="simple-input" type="text" class="k-textbox" name = "org"/></label>
            </li>
            <li>
                <label for="simple-input">Số CMND: 
                <input id="simple-input" type="text" class="k-textbox" name = "ownerName"/></label>
            </li>
            <li>
                <label for="simple-input">Địa chỉ: <input id="simple-input" type="text" class="k-textbox" name = "id"/> </label>
                
            </li>           
            <li>
                <label for="simple-input">Số điện thoại: <input id="simple-input" type="text" class="k-textbox" name = "password"/> </label>                
            </li>         
            <li>
                <label for="simple-input">Email: <input id="simple-input" type="text" class="k-textbox" name = "password"/> </label>                
            </li>
        </ul>
        <p>Upload File</p>
        <kendo:upload name="files" />
        
        <p>
            <input type="submit" value="Submit" class="k-button k-primary" style="margin-top: 16px" />
        </p>
</form>
    </div>
</div>

<div>
<c:if test="${!files.isEmpty()}">
	<ul>
	    <c:forEach var="file" items="${files}">
         <li>
            ${file.getOriginalFilename()} (${file.getSize()} bytes)
         </li>
	    </c:forEach>
	</ul>
</c:if>

<c:if test="${files.isEmpty()}">
-- None --
</c:if>
</div>

<tags:footer></tags:footer>

